<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<form class="form-inline">
				<div class="form-group col-sm-6">
					<label for="year">年度</label> 
					<input type="text"
						class="form-control" id="byear" placeholder="起始"> -<input
						type="text" class="form-control" id="eyear" placeholder="截止">
				</div>
				<div class="form-group col-sm-6">
					<label for="month">月度</label> 
					<select id="bmonth" class="form-control">
						<option value="">--请选择--</option>
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="5">5</option>
						<option value="6">6</option>
						<option value="7">7</option>
						<option value="8">8</option>
						<option value="9">9</option>
						<option value="10">10</option>
						<option value="11">11</option>
						<option value="12">12</option>
					</select>- <select id="emonth" class="form-control">
						<option value="">--请选择--</option>
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="5">5</option>
						<option value="6">6</option>
						<option value="7">7</option>
						<option value="8">8</option>
						<option value="9">9</option>
						<option value="10">10</option>
						<option value="11">11</option>
						<option value="12">12</option>
					</select>
				</div>

			</form>
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-left">
							<button th:if="${mStatus eq '1'}" shiro:hasPermission="per:person:score" type="button" class="btn  btn-primary" onclick="add()">
								<i class="fa " aria-hidden="true"></i>成员评分
							</button>
							<!-- <button shiro:hasPermission="per:person:eval" type="button" class="btn  btn-primary" onclick="add()">
								<i class="fa " aria-hidden="true"></i>成员评价
							</button> -->
						</div>
						<div class="columns pull-right">
							<button class="btn btn-success" onclick="reLoad()">查询</button>
						</div>
						<div class="columns pull-right col-md-2 nopadding">
							
						</div>
					</div>
					<table id="exampleTable" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_view_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="per:person:edit">
			<script type="text/javascript" >
				s_edit_h = '';
			</script>
			
		</div>
		<div th:if="${mStatus eq '0'}">
			<script type="text/javascript" >
				s_edit_h = 'hidden';
				
			</script>
		</div>
		<div shiro:hasPermission="per:person:view">
			<script type="text/javascript">
				var s_view_h = '';
			</script>
		</div>
		
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/per/person/person.js"></script>
	<script type="text/javascript" src="/laydate/laydate.js"></script>
	<script type="text/javascript">
		laydate.render({
			elem : '#byear',
			type : 'year',
			done : function(value, date) {
				//alert('你选择的日期是：' + value + '\n获得的对象是' + JSON.stringify(date));

			}
		})
		laydate.render({
			elem : '#eyear',
			type : 'year',
			done : function(value, date) {
				//alert('你选择的日期是：' + value + '\n获得的对象是' + JSON.stringify(date));
			}
		})

		
	</script>
</body>
</html>